package com.app.mapper.Information;

import com.app.pojo.Grade;
import com.app.pojo.Major;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MajorMapper {
    List<Major> getMajorsByCollege(String college);
    Major getMajorByCollege(@Param("college") String college,@Param("major")  String major);
    Integer addMajors(List<Major> major);
    Integer delMajorsByCollege(String college);
}
